home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / TECHNICA / AUTOCAD / 3078A.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-09-02  |  6KB  |  175 lines

  1. echo off
  2. cls
  3. echo.
  4. echo.                                 ParaDraft 
  5. echo.                    Parametric Drafting System for AutoCAD
  6. echo.
  7. echo.
  8. echo.
  9. echo.                       ParaDraft  Installation Program
  10. echo.                                    for
  11. echo.                      ParaDraft Shareware version 1.01S
  12. echo.
  13. echo.
  14. echo.
  15. echo.
  16. echo.            ParaDraft is published by ParaWare Systems, B-23, Alokpuri, 
  17. echo.                    Ravindrapalli, Lucknow - 226016, India
  18. echo.                           Phone: 0091-522-76741
  19. echo.
  20. echo.   
  21. echo.        
  22. echo                 ParaWare Systems thanks you for trying ParaDraft.
  23. echo.
  24. echo.            Copyright (c) 1991, ParaWare Systems All Rights Reserved.
  25. echo.   
  26. echo.
  27. pause
  28. cls
  29. set REL=%1
  30. set DRV=%2
  31. if "%2" == "" set DRV=A
  32. if "%1" == "" set REL=REL10
  33. if "%1" == "rel10" set REL=REL10
  34. if "%1" == "old" set REL=OLD
  35. if "%1" == "OLD" set REL=OLD
  36. echo.                                   INSTALL
  37. echo                    ParaDraft Version 1.01S Installation Program
  38. echo.
  39. echo.
  40. echo.
  41. echo.
  42. if %REL% == REL10  echo  INSTALL assumes that you have AutoCAD Release 10 or later.
  43. if not %REL% == REL10 echo  INSTALL assumes that you have an older version of AutoCAD than Release 10
  44. echo.
  45. echo  In case this is not correct, press the Ctrl-C or Ctrl-Break key
  46. echo  and restart INSTALL with the correct first parameter :
  47. echo.
  48. echo.           USE
  49. echo.               REL10  - AutoCAD Release 10 or later
  50. echo.               or
  51. echo.               OLD    - An older version of AutoCAD than Release 10
  52. echo.
  53. echo.
  54. pause
  55. if exist PGPG0991.ZIP goto havezip
  56. cls
  57. echo.                                   INSTALL
  58. echo                    ParaDraft Version 1.01S Installation Program
  59. echo.
  60. echo  INSTALL assumes that the ParaDraft files is to be read from the drive
  61. echo  %DRV% and is to be installed in the current directory. 
  62. echo. 
  63. echo.
  64. echo  In case this is not correct, press the Ctrl-C or Ctrl-Break key
  65. echo  and restart INSTALL as following:
  66. echo.
  67. echo.
  68. echo.               %DRV%:INSTALL REL10 %DRV%  
  69. echo.               or
  70. echo.               %DRV%:INSTALL OLD %DRV% 
  71. echo.
  72. echo.    If your drive does not match, change %DRV% to the drive letter.
  73. echo.    Select the parameter, depending on the version of AutoCAD that
  74. echo.    you have on the PC. Give REL10 if you have AutoCAD Release 10
  75. echo.    or a later version. Otherwise enter OLD as the parameter.
  76. echo.  
  77. pause
  78. cls
  79. echo.                                    INSTALL
  80. echo                    ParaDraft Version 1.01S Installation Program
  81. echo. 
  82. echo.    PKUNZIP
  83. echo. 
  84. echo. 
  85. echo.    ParaDraft requires PKUNZIP program to uncompress files from the
  86. echo.    ZIP file on your diskette.
  87. echo. 
  88. echo.    PKUNZIP is part of the shareware PKZIP file compression package,
  89. echo.    distributed by PKWare, 7545 North Port Washington Road, Suite 205,
  90. echo.    Glendale, WI 53217.  
  91. echo. 
  92. echo.    Shareware copies of the full PKZIP package are available on many 
  93. echo.    bulletin boards and on-line services, and with shareware vendors.
  94. echo. 
  95. echo.    PKUNZIP is a trademark of PKWare Inc.
  96. pause
  97. cls
  98. echo.                                   INSTALL
  99. echo                    ParaDraft Version 1.01S Installation Program
  100. echo. 
  101. echo.    PKUNZIP
  102. echo. 
  103. echo. 
  104. echo.    ParaDraft requires PKUNZIP program to uncompress files from the
  105. echo.    ZIP file on your diskette.
  106. echo. 
  107. echo.    This program therefore assumes that you have PKUNZIP installed on 
  108. echo.    this PC such that PKUNZIP can be run from ANY directory. 
  109. echo.    
  110. echo.                           PKUNZIP
  111. echo.      ____________________________________________________________
  112. echo.     !     The program must be located in the current directory   !
  113. echo.     !                or                                          !
  114. echo.     !     The program can be located elsewhere through           !
  115. echo.     !     the PATH= setting                                      !
  116. echo.     !____________________________________________________________!
  117. echo.
  118. echo     In case this is not correct, press the Ctrl-C or Ctrl-Break key
  119. echo     and restart INSTALL after copying PKUNZIP.EXE into the current
  120. echo.    directory.
  121. echo.
  122. pause
  123. cls
  124. if not exist PGPG0991.ZIP goto getzip
  125. rem * * *  * * *  * * * * * * * * * * * * * * * * * *
  126. echo Found PGPG0991.ZIP in current directory. 
  127. echo Proceeding to install ParaDraft in current directory
  128. CD
  129. pause
  130. goto havezip
  131. :getzip
  132. echo.                                    INSTALL
  133. echo                    ParaDraft Version 1.01S Installation Program
  134. echo. 
  135. echo.    INSTALL will now copy all files from the %DRV%: drive. Please
  136. echo.    insert the ParaDraft diskette # 1 in drive %DRV%:
  137. echo.    You should have 1.5 MB free space in the current drive.
  138. pause
  139. cls
  140. if not exist %DRV%:PGPG0991.ZIP goto badinst
  141. rem * * *  * * *  * * * * * * * * * * * * * * * * * *
  142. rem A directory is to be created 
  143. echo Creating ParaDraft directory 
  144. MD PGDRAFT
  145. CD PGDRAFT
  146. CD
  147. echo. Copying files from drive %DRV%:
  148. COPY %DRV%:PGPG0991.ZIP
  149. COPY %DRV%:INSTALL.BAT
  150. COPY %DRV%:README.1ST
  151. :havezip
  152. echo Found PGPG0991.ZIP. Proceeding to UNZIP...
  153. rem * * *  * * *  * * * * * * * * * * * * * * * * * *
  154. pkunzip -n PGPG0991.zip *.*
  155. if not exist PGPG.EXE goto badinst
  156. if not exist INST.EXE goto badinst
  157. if not exist PGSETUP.BAT goto badinst
  158. md help
  159. md blocks
  160. copy *.dwg help
  161. cls
  162. PGSETUP
  163. :badinst 
  164. cd ..
  165. cls
  166. echo Sorry , either PKUNZIP has not been installed on your PC
  167. echo.            or you have bad or incomplete ZIP files 
  168. echo.
  169. echo Please obtain PKUNZIP from a shareware vendor or a public network
  170. echo You could try the same source from where you obtained ParaDraft .
  171. echo.
  172. echo. Make sure that you have the correct PGPG0991.ZIP and PGRUN991.ZIP 
  173. echo. files on the diskette
  174. :ende
  175.